<h2>Edit picture</h2>

<div class="form">
<form action="<?php echo $t['submit_route'];?>" method="post" enctype="multipart/form-data">
<table class="properties-list">

<tr>
<td class="name">Path to image</td>
<td class="value"><input type="file" name="image" id="fe-image" /></td>
</tr>

<tr>
<td class="name">Image name</td>
<td class="value"><?php echo htmlspecialchars($t['current_image_name']);?></td>
</tr>

<tr>
<td class="name">New image name</td>
<td class="value"><input type="text" name="image_name" id="fe-image_name"/></td>
</tr>

<tr>
<td class="name"></td>
<td class="value"><input type="submit" value="submit"/></td>
</tr>

<tr>
<td class="name">Current image</td>
<td class="value"><img src="<?php echo $t['preview_url'];?>" width="200"/></td>
</tr>


<!-- 
<tr>
<td class="name"></td>
<td class="value"></td>
</tr>
-->
</table>
</form>
</div>
